package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.OfficePostRequest;
import com.example.ymm.modules1.query.OfficePostRequestQueryCriteria;
import com.example.ymm.modules1.service.dto.ImportPostRequestDto;

import java.util.List;

public interface OfficePostRequestService extends BaseService<OfficePostRequest> {


    TableList<OfficePostRequest> list(OfficePostRequestQueryCriteria criteria, YmPageDto ymPage);

    List<OfficePostRequest> queryAll(OfficePostRequestQueryCriteria criteria);


    OfficePostRequest findByRoleName(String roleName);

    /**
     * 导入
     * @param dto
     * @return
     */
    List<String> postRequestImport(ImportPostRequestDto dto);


}
